package net.sx.minemodule.mvp.activities;

import android.os.Bundle;

import com.alibaba.android.arouter.facade.annotation.Route;
import com.alibaba.fastjson.JSON;
import com.homegoods.aroutercomment.ARouterPath;
import com.kedll.library.base.MyBaseFragmentActivity;
import com.kedll.library.mvp.BasePresenter;
import com.kedll.library.util.MyUtils;
import com.network.update.IGetUpdateInfo;
import com.network.utils.UpdateUtil;

import net.sx.minemodule.R;
import net.sx.minemodule.databinding.MineActivityMineCopyRightBinding;


/**
 * add shibo.zheng 19/06/10
 * 版权信息
 */
@Route(path = ARouterPath.PATH_COPYRIGHT_INFO)
public class MineCopyRightActivity extends MyBaseFragmentActivity<MineActivityMineCopyRightBinding, BasePresenter> {

    @Override
    protected int getLayout() {
        return R.layout.mine_activity_mine_copy_right;
    }

    @Override
    protected void initToolBar(Bundle savedInstanceState) {
        super.initToolBar(savedInstanceState);
        setTitle("版权信息");
    }

    @Override
    protected void initEvent() {
        StringBuilder version = new StringBuilder();
        version.append("版本号： V").append(MyUtils.getVersionCode(this));
        mBinding.versionInfo.setText(version);
    }

    @Override
    protected BasePresenter getPresenter() {
        return null;
    }
}
